// source --> https://negabaritoff.ru/wp-content/plugins/no-right-click-images-plugin/no-right-click-images.js
/**********************************************
No Right Click Images plugin
by Keith P. Graham
Plugin URI: http://www.BlogsEye.com/
Description: Uses Javascript to prevent right clicking of images to help keep leaches from copying images
Version: 3.4
Author: Keith P. Graham
Author URI: http://www.BlogsEye.com/
This software is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
***********************************************/
document.addEventListener("contextmenu",kpg_nrci_cm, false);
if (nrci_opts['drag']=='Y') {
document.addEventListener("dragstart",kpg_nrci_cm, false);
document.addEventListener("touchmove",kpg_nrci_cm, false); /* same as drag? */
}
if (nrci_opts['touch']=='Y') {
document.addEventListener("touchstart",kpg_nrci_cm, false);
}
if (nrci_opts['gesture']=='Y') {
document.addEventListener("gesturestart",kpg_nrci_cm, false);
}
function kpg_nrci_block(event) {
event.cancelBubble = true;
if(event.preventDefault != undefined) {
event.preventDefault();
}
if(event.stopPropagation != undefined) {
event.stopPropagation();
}
return false;
}
function kpg_nrci_cm(event) {
try {
if (event.target.tagName == "IMG") {
//alert("in IMG");
event.cancelBubble = true;
if(event.preventDefault != undefined) {
event.preventDefault();
}
if(event.stopPropagation != undefined) {
event.stopPropagation();
}
//console.log('in img tag');
return false;
}
} catch(error) {
console.log("NRI error:"+error);
}
try {
if(event.target.getAttribute("style")==null ||
event.target.getAttribute("style")=="") {
return true;
}
if (event.target.style.backgroundImage != null
&& event.target.style.backgroundImage != 'none'
&& event.target.style.backgroundImage != '') {
event.cancelBubble = true;
if(event.preventDefault != undefined) {
event.preventDefault();
}
if(event.stopPropagation != undefined) {
event.stopPropagation();
}
return false;
}
} catch(error) {
console.log("NRI error:"+error);
}
return true;
};
// source --> https://negabaritoff.ru/wp-content/plugins/page-animations-and-transitions/js/animsition.min.js?ver=5.4.2
/*!
* animsition v4.0.2
* A simple and easy jQuery plugin for CSS animated page transitions.
* http://blivesta.github.io/animsition
* License : MIT
* Author : blivesta (http://blivesta.com/)
*/
!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){"use strict";var n="animsition",i={init:function(a){a=t.extend({inClass:"fade-in",outClass:"fade-out",inDuration:1500,outDuration:800,linkElement:".animsition-link",loading:!0,loadingParentElement:"body",loadingClass:"animsition-loading",loadingInner:"",timeout:!1,timeoutCountdown:5e3,onLoadEvent:!0,browser:["animation-duration","-webkit-animation-duration"],overlay:!1,overlayClass:"animsition-overlay-slide",overlayParentElement:"body",transition:function(t){window.location.href=t}},a),i.settings={timer:!1,data:{inClass:"animsition-in-class",inDuration:"animsition-in-duration",outClass:"animsition-out-class",outDuration:"animsition-out-duration",overlay:"animsition-overlay"},events:{inStart:"animsition.inStart",inEnd:"animsition.inEnd",outStart:"animsition.outStart",outEnd:"animsition.outEnd"}};var o=i.supportCheck.call(this,a);if(!o&&a.browser.length>0&&(!o||!this.length))return"console"in window||(window.console={},window.console.log=function(t){return t}),this.length||console.log("Animsition: Element does not exist on page."),o||console.log("Animsition: Does not support this browser."),i.destroy.call(this);var e=i.optionCheck.call(this,a);return e&&t("."+a.overlayClass).length<=0&&i.addOverlay.call(this,a),a.loading&&t("."+a.loadingClass).length<=0&&i.addLoading.call(this,a),this.each(function(){var o=this,e=t(this),s=t(window),r=t(document),l=e.data(n);l||(a=t.extend({},a),e.data(n,{options:a}),a.timeout&&i.addTimer.call(o),a.onLoadEvent&&s.on("load."+n,function(){i.settings.timer&&clearTimeout(i.settings.timer),i["in"].call(o)}),s.on("pageshow."+n,function(t){t.originalEvent.persisted&&i["in"].call(o)}),s.on("unload."+n,function(){}),r.on("click."+n,a.linkElement,function(n){n.preventDefault();var a=t(this),e=a.attr("href");2===n.which||n.metaKey||n.shiftKey||-1!==navigator.platform.toUpperCase().indexOf("WIN")&&n.ctrlKey?window.open(e,"_blank"):i.out.call(o,a,e)}))})},addOverlay:function(n){t(n.overlayParentElement).prepend('